import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import setting from './modules/setting'
import user from './modules/user'
import wechat from './modules/wechat'
import menus from './modules/menus'
import message from './modules/message'
import oem from './modules/oem'
import wxaBuild from './modules/wxaBuild'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    setting,
    user,
    menus,
    message,
    wechat,
    oem,
    wxaBuild
  },
  getters
})

export default store
